import request from '@/utils/request'


export function hoseEquipmentLedgerList(data) { //设备台账-列表
  return request({
    url: '/hose-management/api/equipment/page',
    method: 'post',
    data
  })
}


export function hoseEquipmentLedgerAdd(data) { //设备台账-新增
  return request({
    url: '/hose-management/api/equipment/add',
    method: 'post',
    data
  })
}

export function hoseEquipmentLedgerEdit(data) { //设备台账-编辑
  return request({
    url: '/hose-management/api/equipment/edit',
    method: 'post',
    data
  })
}

export function hoseEquipmentLedgerDelete(data) { //设备台账-删除
  return request({
    url: '/hose-management/api/equipment/del',
    method: 'post',
    data
  })
}


export function hoseEquipmentLedgerDetail(data) { //设备台账-详情
  return request({
    url: '/hose-management/api/equipment/id',
    method: 'post',
    data
  })
}

export function hoseEquipmentLedgerExoprt(data) { //设备台账-导出
    return request({
      url: '/hose-management/api/equipment/export' ,
      responseType: 'arraybuffer',
      method: 'POST',
      data,
    })
  }


